<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

	<head>
		<title>[%$ESPCMS_SOFT_TITLE%]</title>
		<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
		<link href="[%$ESPCMS_ADMIN_TEMPLATES_URL%]css/espcms_style_font_icon.css" rel="stylesheet" type="text/css" />
		<link href="[%$ESPCMS_ADMIN_TEMPLATES_URL%]css/espcms_style_public.css" rel="stylesheet" type="text/css" />
		<link href="[%$ESPCMS_ADMIN_TEMPLATES_URL%]css/espcms_all.css" rel="stylesheet" type="text/css" />
		<link href="[%$ESPCMS_ADMIN_TEMPLATES_URL%]css/espcms_framework.css" rel="stylesheet" type="text/css" />
		<link href="[%$ESPCMS_ADMIN_TEMPLATES_URL%]css/espcms_select.css" rel="stylesheet" type="text/css" />
		<link href="[%$ESPCMS_ADMIN_TEMPLATES_URL%]css/pageload.css" rel="stylesheet" type="text/css" />
		<link href="[%$ESPCMS_ADMIN_TEMPLATES_URL%]css/file.css" rel="stylesheet" type="text/css" />
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/jquery.min.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/jquery-ui.min.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/jquery.cookie.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_dialog.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/md5.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/json.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/bootstrap.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/lngpack_cn.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_form.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_formvalidation.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_dialog.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_function.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_tool.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_page.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_select.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_checkbox.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_select_checkbox.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_batch.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_tab.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/nprogress.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/iframeResizer.contentWindow.min.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_multiple.js"></script>
		<script type="text/javascript">
			$(document).ready(function () {
				banpageKey();
				$("[placeholder]").tooltip();
				$('input[type=checkbox],input[type=radio]').espcms_checkbox();
				$("#espcms_saveInfo").espcms_formvalidation();
				$('.espcms_pic_onlyList').picInputClear();
				$('#espcms_saveInfo').ajaxForm({
					type: 'POST',
					url: '[%$link.save%]',
					dataType: 'json',
					beforeSubmit: function () {
						parent.espcms_are_loading();
					},
					success: function (data) {
						parent.$("#espcms_are_loading").dialog("close");

						parent.$("body").append(data.data);
						if (data.code === 'true') {
							parent.$.espcms_sticky(data.message, {'autoclose': 3000});
							parent.frames['[%$par_iframes_name%]'].refresh('ajax_list');
							parent.$(this).espcms_window_tab('close', {'iframeName': '[%$iframes_name%]'});
						} else {
							var botton = [
								{
									text: "[%pack:botton_pack-espcms_botton_colse%]",
									class: "btn btn-lightgray",
									click: function () {
										parent.$(this).dialog("close");
										parent.$(this).espcms_window_tab('close', {'iframeName': '[%$iframes_name%]'});
									}
								}
							];
							parent.espcms_public_dialog(data.domid_name, botton, 600);
						}
						$(window).unbind('beforeunload');
					}
				});
				$('.espcms_save_cancel').espcms_window_tab('closeTab');
				load_tabclick('.tab_click');
				$('.espcms_dialog_link').espcms_dig();
			});
		</script>
	</head>

	<body class="espcms_style_all">
		<div class="main">
			<div class="espcms_center_content_list">

				<div class="panel">
					<div class="panel-body form_bottom_page">
						<form class="form-horizontal admin-form" id="espcms_saveInfo" action="[%$link.save%]">
							<input type="hidden" name="token_key" id="token_key" value="[%$token.token_key%]"/>
							<input type="hidden" name="token_name" id="token_name" value="[%$token.token_name%]"/>
							<input type="hidden" name="opid" id="opid" value="[%$read.opid%]"/>
							<input type="hidden" name="paycode" id="paycode" value="[%$read.paycode%]"/>
							<input type="hidden" name="savetype" value="edit"/>
							<div class="section-divider mb40"><span>[%pack:order_pack-espcms_order_pay_button_edit%]</span></div>
							<div class="form-group">
								<label class="col-sm-2 control-label">[%pack:order_pack-espcms_order_pay_pluglist%]</label>
								<div class="col-sm-9 pt5">[%$json_array.plugname%]</div>
							</div>
							<div class="form-group">
								<label class="col-sm-2 control-label">[%pack:order_pack-espcms_order_pay_payname%]</label>
								<div class="col-sm-9">
									<input type="text" name="payname" class="form-control" value="[%$read.payname%]" id="payname" maxlength="50" data-validation-minlength="2" data-validation-maxlength="50" placeholder="[%pack:order_pack-espcms_order_pay_payname_title%]" title="[%pack:order_pack-espcms_order_pay_payname_title%]" data-validation-msg="[%pack:order_pack-espcms_order_pay_payname_validation_msg%]"/>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-2 control-label">[%pack:order_pack-espcms_order_pay_pic%]</label>
								<div class="col-sm-9" id="paypic_select_list">
									<input type="hidden" name="paypic" id="paypic" validation="true" value="[%$read.paypic%]" data-validation-botton="paypic_select" data-isvalidation="true" data-validation="^[\w\.//]+$" data-validation-msg="[%pack:article_pack-espcms_article_pic_validation_msg%]" />
									[%if $read.paypic%]
										<a class="btn-image espcms_dialog_link" style="display: none;" id="paypic_select" data-w="830px" data-h="540px" data-url="[%$fileDialog%]&displaytype=pic&upfileType=image&selectnum=1&inputname=paypic&updatediv=paypic_select" data-title="[%pack:filemanage_pack-espcms_filenamage_images_dialog_title%]"></a>
										<ul class="espcms_pic_onlyList" id="paypic_select_ul" input_id="paypic" select_id="paypic_select">
											<li>
												<p class="uploadimgWrap"><img src="[%$ESPCMS_URL%][%$read.paypic%]" width="100" height="100"/></p>
												<div class="upload_file_panel" style="height: 0px;"><span class="cancel"></span></div>
											</li>
										</ul>
									[%else%]
										<a class="btn-image espcms_dialog_link" id="paypic_select" data-w="830px" data-h="540px" data-url="[%$fileDialog%]&displaytype=pic&upfileType=image&selectnum=1&inputname=paypic&updatediv=paypic_select" data-title="[%pack:filemanage_pack-espcms_filenamage_images_dialog_title%]"></a>
									[%/if%]
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-2 control-label">[%pack:order_pack-espcms_order_pay_ismoblie%]</label>
								<div class="col-sm-9 pt5">
									<input type="radio" name="ismoblie" value="0"[%if $read.ismoblie==0%] checked[%/if%]/><span class="pr10">[%pack:order_pack-espcms_order_pay_ismoblie_0%]</span>
									<input type="radio" name="ismoblie" value="1"[%if $read.ismoblie==1%] checked[%/if%]/><span class="pr10">[%pack:order_pack-espcms_order_pay_ismoblie_1%]</span>
									<input type="radio" name="ismoblie" value="2"[%if $read.ismoblie==2%] checked[%/if%]/><span class="pr10">[%pack:order_pack-espcms_order_pay_ismoblie_2%]</span>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-2 control-label">[%pack:order_pack-espcms_order_pay_payis%]</label>
								<div class="col-sm-9">
									<div class="input-group">
										<input type="text" name="payis" class="form-control" id="payis" value="[%$read.payis%]" data-validation="^[\d]+$" placeholder="[%pack:order_pack-espcms_order_pay_payis_title%]" title="[%pack:order_pack-espcms_order_pay_payis_title%]" data-validation-msg="[%pack:order_pack-espcms_order_pay_payis_validation_msg%]" data-display-type="top" data-icon-err="false" />
										<span class="input-group-addon">%</span>
									</div>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-2 control-label">[%pack:order_pack-espcms_order_pay_paycontent%]</label>
								<div class="col-sm-9">
									<textarea class="form-control" style="width:100%;height:120px" name="paycontent" id="paycontent" maxlength="800" data-isvalidation="true" data-validation-maxlength="800" placeholder="[%pack:order_pack-espcms_order_pay_paycontent_title%]" title="[%pack:order_pack-espcms_order_pay_paycontent_title%]" data-validation-msg="[%pack:order_pack-espcms_order_pay_paycontent_validation_msg%]">[%$read.paycontent%]</textarea>
								</div>
							</div>
							<div class="section-divider mb40 plug_title"><span>[%pack:order_pack-espcms_order_pay_str%]</span></div>
							<div id="pay_plug_setting">[%$json_array.out_html%]</div>

							<div class="form_button">
								<button type="submit" class="btn btn-green min-w-150" formmethod="POST">[%pack:botton_pack-espcms_botton_save_ok%]</button>
								<button type="button" class="btn btn-lightgray min-w-150 espcms_save_cancel">[%pack:botton_pack-espcms_botton_save_cancel_edit%]</button>
							</div>
						</form>
					</div>
				</div>

			</div>
		</div>
		[%link file="public/load.html"%]
		[%link file="public/load_height.html"%]
	</body>
</html>
